/**
 * 列表的set
 */
export const setting = [{
  field: 'orgName',
  title: '部门',
  type: 'text',
  searchable: true
}, {
  field: 'postId',
  title: '岗位',
  type: 'selected',
  isParams: true,
  paramsId: 'POST',
  searchable: true
}, {
  field: 'postLevel',
  title: '职级',
  type: 'selected',
  isParams: true,
  paramsId: 'RANK',
  searchable: true
}, {
  field: 'salaryLow',
  title: '最低薪资',
  type: 'text'
}, {
  field: 'salaryHigh',
  title: '最高薪资',
  type: 'text'
}];




/**
 * 新增
 */
export const addSetting = [{
  field: 'orgId',
  title: '部门',
  type: 'org',
  searchable: true
}, {
  field: 'postId',
  title: '岗位',
  type: 'selected',
  isParams: true,
  paramsId: 'POST',
  searchable: true
}, {
  field: 'postLevel',
  title: '职级',
  type: 'selected',
  isParams: true,
  paramsId: 'RANK',
  searchable: true
}, {
  field: 'salaryLow',
  title: '最低薪资',
  type: 'text'
}, {
  field: 'salaryHigh',
  title: '最高薪资',
  type: 'text'
}]


/**
 * 编辑
 */
export const editSetting = [{
  field: 'orgId',
  title: '部门',
  type: 'org',
  disableEdit: true,
  searchable: true
}, {
  field: 'postId',
  title: '岗位',
  type: 'selected',
  isParams: true,
  paramsId: 'POST',
  disableEdit: true,
  searchable: true
}, {
  field: 'postLevel',
  title: '职级',
  type: 'selected',
  isParams: true,
  paramsId: 'RANK',
  disableEdit: true,
  searchable: true
}, {
  field: 'salaryLow',
  title: '最低薪资',
  type: 'text'
}, {
  field: 'salaryHigh',
  title: '最高薪资',
  type: 'text'
}]


export const searchSetting = [
  {
    field: 'orgId',
    title: '部门',
    type: 'org',
    searchable: true
  },
  {
    field: 'postId',
    title: '岗位',
    type: 'selected',
    isParams: true,
    paramsId: 'POST',
    searchable: true
  },
  {
    field: 'postLevel',
    title: '职级',
    type: 'selected',
    isParams: true,
    paramsId: 'RANK',
    searchable: true
  }
]
